Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / SparseArray<T> Class / Clear Method / Clear(Int32,Int32) Method
The zero-based index of the range.
The length of the range.


In This Topic
    Clear(Int32,Int32) Method
    In This Topic
    Removes all elements from the SparseArray at the specified range.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Clear( _
       ByVal index As Integer, _
       ByVal length As Integer _
    ) 
    'Usage
     
    
    Dim instance As SparseArray(Of T)
    Dim index As Integer
    Dim length As Integer
     
    instance.Clear(index, length)
    public void Clear( 
       int index,
       int length
    )

    Parameters

    index
    The zero-based index of the range.
    length
    The length of the range.
    See Also